import http from '../utlis/http.js';
//商家入住
export const addBusApi = (data) => {
	return http({
		url: '/index/addBus',
		method: 'post',
		header: {
			'content-type': 'application/x-www-form-urlencoded'
		},
		data
	})
}
//商家详情
export const busDetailApi = (id) => {
	return http({
		url: '/index/busDetail',
		method: 'post',
		header: {
			'content-type': 'application/x-www-form-urlencoded'
		},
		data: {
			id
		}
	})
}
//商家详情
export const jicaiZhiyaApi = (id) => {
	return http({
		url: '/index/jicaiZhiya',
		method: 'post',
		header: {
			'content-type': 'application/x-www-form-urlencoded'
		}
	})
}
